Enable introspection of X11-specific functions and methods
authorPavel Holejsovsky <pholejs@src.gnome.org>
Thu, 28 Jul 2011 11:17:35 +0000 (13:17 +0200)
committerPavel Holejsovsky <pholejs@src.gnome.org>
Mon, 1 Aug 2011 09:09:39 +0000 (11:09 +0200)
Functions dealing with native Xlib types were (skip)ed because
gobject-introspection did not have correct Xlib types declarations.
They are corrected now, so these GdkX11 functions can be enabled back
again.

https://bugzilla.gnome.org/show_bug.cgi?id=655495

gdk/x11/gdkcursor-x11.c
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkproperty-x11.c
gdk/x11/gdkscreen-x11.c
gdk/x11/gdkvisual-x11.c
gdk/x11/gdkwindow-x11.c

index ae4308eff07894310c4c81b8bfc3c90fe893e3d6..80f992aa88e8c966fa4de98a64f816a676755645 100644 (file)
@@ -285,12 +285,12 @@ _gdk_x11_display_get_cursor_for_type (GdkDisplay    *display,
 }
 
 /**
- * gdk_x11_cursor_get_xdisplay: (skip)
+ * gdk_x11_cursor_get_xdisplay:
  * @cursor: a #GdkCursor.
  * 
  * Returns the display of a #GdkCursor.
  * 
- * Return value: an Xlib <type>Display*</type>.
+ * Return value: (transfer none): an Xlib <type>Display*</type>.
  **/
 Display *
 gdk_x11_cursor_get_xdisplay (GdkCursor *cursor)
@@ -301,7 +301,7 @@ gdk_x11_cursor_get_xdisplay (GdkCursor *cursor)
 }
 
 /**
- * gdk_x11_cursor_get_xcursor: (skip)
+ * gdk_x11_cursor_get_xcursor:
  * @cursor: a #GdkCursor.
  * 
  * Returns the X cursor belonging to a #GdkCursor.
index 77e73cedce4d1a31d1cca809ac32cc44f8366b90..561c47dadc8fd48e40422cb13ec4c1ab4053bbea 100644 (file)
@@ -1843,9 +1843,9 @@ _gdk_x11_display_screen_for_xrootwin (GdkDisplay *display,
 }
 
 /**
- * gdk_x11_display_get_xdisplay: (skip)
+ * gdk_x11_display_get_xdisplay:
  * @display: a #GdkDisplay
- * @returns: an X display.
+ * @returns: (transfer none): an X display.
  *
  * Returns the X display of a #GdkDisplay.
  *
index dc57ce2d951794ad144e1cdc0d118540e3f962c4..41b1b0a14ee32772b43c26abe04d268355ac0acc 100644 (file)
@@ -442,7 +442,7 @@ gdk_x11_get_default_screen (void)
 }
 
 /**
- * gdk_x11_get_default_root_xwindow: (skip)
+ * gdk_x11_get_default_root_xwindow:
  * 
  * Gets the root window of the default screen 
  * (see gdk_x11_get_default_screen()).  
@@ -456,13 +456,13 @@ gdk_x11_get_default_root_xwindow (void)
 }
 
 /**
- * gdk_x11_get_default_xdisplay: (skip)
+ * gdk_x11_get_default_xdisplay:
  * 
  * Gets the default GTK+ display.
  * 
- * Return value: the Xlib <type>Display*</type> for the display
- * specified in the <option>--display</option> command line option 
- * or the <envar>DISPLAY</envar> environment variable.
+ * Return value: (transfer none): the Xlib <type>Display*</type> for
+ * the display specified in the <option>--display</option> command
+ * line option or the <envar>DISPLAY</envar> environment variable.
  **/
 Display *
 gdk_x11_get_default_xdisplay (void)
index 678b196baf535a19f6617a9334bcad151d1e6c2a..ebeb39e1387499d481791bcdf4f622f91d5811b7 100644 (file)
@@ -207,7 +207,7 @@ lookup_cached_xatom (GdkDisplay *display,
 }
 
 /**
- * gdk_x11_atom_to_xatom_for_display: (skip)
+ * gdk_x11_atom_to_xatom_for_display:
  * @display: A #GdkDisplay
  * @atom: A #GdkAtom, or %GDK_NONE
  *
@@ -298,7 +298,7 @@ _gdk_x11_precache_atoms (GdkDisplay          *display,
 }
 
 /**
- * gdk_x11_atom_to_xatom: (skip)
+ * gdk_x11_atom_to_xatom:
  * @atom: A #GdkAtom 
  * 
  * Converts from a #GdkAtom to the X atom for the default GDK display
@@ -313,14 +313,14 @@ gdk_x11_atom_to_xatom (GdkAtom atom)
 }
 
 /**
- * gdk_x11_xatom_to_atom_for_display: (skip)
+ * gdk_x11_xatom_to_atom_for_display:
  * @display: A #GdkDisplay
  * @xatom: an X atom 
  * 
  * Convert from an X atom for a #GdkDisplay to the corresponding
  * #GdkAtom.
  * 
- * Return value: the corresponding #GdkAtom.
+ * Return value: (transfer none): the corresponding #GdkAtom.
  *
  * Since: 2.2
  **/
@@ -373,13 +373,13 @@ gdk_x11_xatom_to_atom_for_display (GdkDisplay *display,
 }
 
 /**
- * gdk_x11_xatom_to_atom: (skip)
+ * gdk_x11_xatom_to_atom:
  * @xatom: an X atom for the default GDK display
  * 
  * Convert from an X atom for the default display to the corresponding
  * #GdkAtom.
  * 
- * Return value: the corresponding G#dkAtom.
+ * Return value: (transfer none): the corresponding G#dkAtom.
  **/
 GdkAtom
 gdk_x11_xatom_to_atom (Atom xatom)
@@ -450,7 +450,7 @@ _gdk_x11_display_manager_get_atom_name (GdkDisplayManager *manager,
 }
 
 /**
- * gdk_x11_get_xatom_by_name_for_display: (skip)
+ * gdk_x11_get_xatom_by_name_for_display:
  * @display: a #GdkDisplay
  * @atom_name: a string
  * 
@@ -472,7 +472,7 @@ gdk_x11_get_xatom_by_name_for_display (GdkDisplay  *display,
 }
 
 /**
- * gdk_x11_get_xatom_by_name: (skip)
+ * gdk_x11_get_xatom_by_name:
  * @atom_name: a string
  * 
  * Returns the X atom for GDK's default display corresponding to @atom_name.
index a2d1253fec721140b3d088390ea4bbbd48cba68e..d10e73ac27ddb94dfc2759ff6cf43fd4672135f9 100644 (file)
@@ -265,7 +265,7 @@ gdk_x11_screen_get_monitor_plug_name (GdkScreen *screen,
 }
 
 /**
- * gdk_x11_screen_get_monitor_output: (skip)
+ * gdk_x11_screen_get_monitor_output:
  * @screen: a #GdkScreen
  * @monitor_num: number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)
  *
index ad473bb734cdca05e1e72b688672a58663e9f30a..1940a6ce597e6b3588a941a1c74b829ec9d4ae7b 100644 (file)
@@ -564,12 +564,12 @@ _gdk_visual_get_x11_colormap (GdkVisual *visual)
 }
 
 /**
- * gdk_x11_visual_get_xvisual: (skip)
+ * gdk_x11_visual_get_xvisual:
  * @visual: a #GdkVisual.
  *
  * Returns the X visual belonging to a #GdkVisual.
  *
- * Return value: an Xlib <type>Visual*</type>.
+ * Return value: (transfer none): an Xlib <type>Visual*</type>.
  **/
 Visual *
 gdk_x11_visual_get_xvisual (GdkVisual *visual)
index 78ec0a49926438e0b4d7db8d470eafffa09027f8..cb3c8ff1f7812095a75427eab3920a8aea718295 100644 (file)
@@ -4738,7 +4738,7 @@ gdk_x11_get_server_time (GdkWindow *window)
 }
 
 /**
- * gdk_x11_window_get_xid: (skip)
+ * gdk_x11_window_get_xid:
  * @window: a native #GdkWindow.
  * 
  * Returns the X resource (window) belonging to a #GdkWindow.